package nix.demo4.web.listener;

import java.util.LinkedHashMap;
import java.util.Map;

import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

public class AListener implements ServletContextListener {

	public void contextInitialized(ServletContextEvent event) {

		Map<String, Integer> map = new LinkedHashMap<String, Integer>();
		ServletContext application = event.getServletContext();
		application.setAttribute("map", map);
	}

	public void contextDestroyed(ServletContextEvent event) {

	}

}
